<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8 charset=<?php echo $this->_var['charset']; ?>" />
<meta http-equiv="Content-Type" content="text/html;charset=<?php echo $this->_var['charset']; ?>" />
<title>商城后台</title>
<link href="templates/style/admin.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<?php echo $this->lib_base . "/" . 'jquery.js'; ?>" charset="utf-8"></script>
<script type="text/javascript" src="<?php echo $this->lib_base . "/" . 'ecmall.js'; ?>" charset="utf-8"></script>

<script type="text/javascript" src="<?php echo $this->res_base . "/" . 'js/index.js'; ?>" charset="utf-8"></script>
</head>
<body>
   
    <div id="header">
            <div class="logo"><a href="index.php"><img src="templates/style/images/logo.gif" alt="ECMall" height="45" /></a></div>
            <div class="submenu">
                <ul>
                    <li>
                        <a href="index.php?act=logout">
                            <em class="iconfont">&#xe619;</em>
                            <span>退出</span>
                        </a>
                    </li>
                    <li>
                        <a href="<?php echo $this->_var['site_url']; ?>/index.php" target="_blank">
                            <em class="iconfont">&#xe600;</em>
                            <span>商城首页</span>
                        </a>
                    </li>
                    <li>
                        <a target="main-frame" href="<?php echo url('app=setting&act=base_setting'); ?>">
                            <em class="iconfont">&#xe604;</em>
                            <span>网站设置</span>
                        </a>
                    </li>
                    <li>
                        <a href="javascript:void(0)" id="iframe_refresh">
                            <em class="iconfont">&#xe60d;</em>
                            <span>刷新</span>
                        </a>
                    </li>
                    <li>
                        <a href="javascript:void(0)" id="clear_cache">
                            <em class="iconfont">&#xe609;</em>
                            <span>更新缓存</span>
                        </a>
                    </li>
                </ul>
            </div>
        </div>
        <div id="menu-div">
            <ul>
                <li>
                    <a href="index.php">
                        <em class="iconfont">&#xe600;</em>
                        <span>起始页</span>
                    </a>
                    <span class="muneFG"></span>
                </li>
                <li>
                    <a href="<?php echo url('app=goods'); ?>" target="main-frame">
                        <em class="iconfont">&#xe608;</em>
                        <span>商品管理</span>
                        <span class="number"><?php echo ($this->_var['stat']['goods_count'] == '') ? '0' : $this->_var['stat']['goods_count']; ?></span>
                    </a>
                    <span class="muneFG"></span>
                </li>
                <li>
                    <a href="<?php echo url('app=store'); ?>" target="main-frame">
                        <em class="iconfont">&#xe60a;</em>
                        <span>店铺管理</span>
                        <span class="number"><?php echo ($this->_var['stat']['store_count'] == '') ? '0' : $this->_var['stat']['store_count']; ?></span>
                    </a>
                    <span class="muneFG"></span>
                </li>
                <li>
                    <a href="<?php echo url('app=user'); ?>" target="main-frame">
                        <em class="iconfont">&#xe606;</em>
                        <span>会员管理</span>
                        <span class="number"><?php echo ($this->_var['stat']['member_count'] == '') ? '0' : $this->_var['stat']['member_count']; ?></span>
                    </a>
                    <span class="muneFG"></span>
                </li>
                <li>
                    <a href="<?php echo url('app=order'); ?>" target="main-frame">
                        <em class="iconfont">&#xe61e;</em>
                        <span>订单管理</span>
                        <span class="number"><?php echo ($this->_var['stat']['order_count'] == '') ? '0' : $this->_var['stat']['order_count']; ?></span>
                    </a>
                    <span class="muneFG"></span>
                </li>
                <li>
                    <a href="<?php echo url('app=article'); ?>" target="main-frame">
                        <em class="iconfont">&#xe602;</em>
                        <span>文章管理</span>
                        <span class="number"><?php echo ($this->_var['stat']['article_count'] == '') ? '0' : $this->_var['stat']['article_count']; ?></span>
                    </a>
                    <span class="muneFG"></span>
                </li>
            </ul>
        </div>


        <div id="frame-body">
            <iframe src="<?php echo url('app=default&act=menu'); ?>" id="menu-frame" name="menu-frame" width="12%" frameborder="no" scrolling="yes" height="800px"></iframe>
            <iframe src="<?php echo url('app=default&act=welcome'); ?>" id="main-frame" name="main-frame" frameborder="no" width="87%" scrolling="yes" height="800px"></iframe>
        </div>
    
</body>
</html>
